package com.opennews.openplatform.familyexpenseapi.dto.authentication

import com.fasterxml.jackson.annotation.JsonIgnoreProperties
import jakarta.validation.constraints.NotBlank
import jakarta.validation.constraints.Size

@JsonIgnoreProperties(ignoreUnknown = true)
open class PasswordDto {
    @field:NotBlank(message = "password can't be blank")
    @field:Size(min = 6, max = 20, message = "password must be between 6 and 20 characters")
    lateinit var password: String
}